﻿public class MemoryModel : AbstractModel
{
    public PlayerAttribute PlayerAttr;
    public PetType PetType;
    public string UserName;
    public int Stage;
    public int Money;
    
    protected override void OnInit()
    {
        PetType = PetType.LittleCool;
        Stage = 5;
        Money = 0;
        if (string.IsNullOrEmpty(UserName))
        {
            UserName = "Guest_" + UnityEngine.Random.Range(1000, 9999);
        }
    }
}
